dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ErrorCollection Class / CopyTo Method / CopyTo(DB2Error[],Int32) Method
The array of DB2Error to copy elements into.
The index from which to start copying into the array parameter.

In This Topic
    CopyTo(DB2Error[],Int32) Method
    In This Topic
    Copies the elements of the DB2ErrorCollection collection into an array of DB2Error starting at the specified index within the array.
    Syntax
    'Declaration
     
    Public Overloads Sub CopyTo( _
       ByVal array() As DB2Error, _
       ByVal index As Integer _
    ) 
    public void CopyTo( 
       DB2Error[] array,
       int index
    )

    Parameters

    array
    The array of DB2Error to copy elements into.
    index
    The index from which to start copying into the array parameter.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also